Skip to content

Fix coverage collection with Bazel BWOB#2182

Merged
vihangm merged 1 commit intomainfrom
vihang/coverage_fix
Apr 24, 2025
Merged

Fix coverage collection with Bazel BWOB#2182
vihangm merged 1 commit intomainfrom
vihang/coverage_fix

Conversation

@vihangm
Copy link
Copy Markdown
Member

@vihangm vihangm commented Apr 24, 2025

Summary: Coverage runs were using remote_download_output=all because thing didn't work with Bazel Build Without the Bytes. It seems that after bazelbuild/bazel#4685 this should work, so this change attempts to shift coverage runs to use BWOB to avoid downloading all outputs.

This also fixes some warnings and errors we ran into with the ubuntu 24.04 upgrade which causes lcov 2 to be installed.

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Will check github actions on this PR.

@vihangm vihangm requested review from a team as code owners April 24, 2025 05:08
@vihangm vihangm force-pushed the vihang/coverage_fix branch 2 times, most recently from 54c2f4e to c79dc16 Compare April 24, 2025 05:59
Signed-off-by: Vihang Mehta <vihang@gimletlabs.ai>
@vihangm vihangm force-pushed the vihang/coverage_fix branch from c79dc16 to 05b0c65 Compare April 24, 2025 06:29
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.52%. Comparing base (a21bf7d) to head (05b0c65).
Report is 168 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2182      +/-   ##
==========================================
- Coverage   44.63%   44.52%   -0.12%     
==========================================
  Files        1196     1207      +11     
  Lines       86026    86724     +698     
  Branches    25009    25295     +286     
==========================================
+ Hits        38402    38612     +210     
- Misses      31780    32209     +429     
- Partials    15844    15903      +59     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vihangm vihangm force-pushed the vihang/coverage_fix branch from 05b0c65 to caf8fb0 Compare April 24, 2025 06:55
@vihangm vihangm changed the title Try to collect coverage with Bazel BWOB Fix coverage collection with Bazel BWOB Apr 24, 2025
@vihangm vihangm merged commit 9ec7a67 into main Apr 24, 2025
36 checks passed
@vihangm vihangm deleted the vihang/coverage_fix branch April 24, 2025 16:37
ddelnano pushed a commit to ddelnano/pixie that referenced this pull request Aug 6, 2025
Summary: Coverage runs were using remote_download_output=all because
thing didn't work with Bazel Build Without the Bytes. It seems that
after bazelbuild/bazel#4685 this should work,
so this change attempts to shift coverage runs to use BWOB to avoid
downloading all outputs.

This also fixes some warnings and errors we ran into with the ubuntu
24.04 upgrade which causes lcov 2 to be installed.

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Will check github actions on this PR.

Signed-off-by: Vihang Mehta <vihang@px.dev>
GitOrigin-RevId: 9ec7a67
ddelnano pushed a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: Coverage runs were using remote_download_output=all because
thing didn't work with Bazel Build Without the Bytes. It seems that
after bazelbuild/bazel#4685 this should work,
so this change attempts to shift coverage runs to use BWOB to avoid
downloading all outputs.

This also fixes some warnings and errors we ran into with the ubuntu
24.04 upgrade which causes lcov 2 to be installed.

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Will check github actions on this PR.

Signed-off-by: Vihang Mehta <vihang@px.dev>
ddelnano pushed a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
Summary: Coverage runs were using remote_download_output=all because
thing didn't work with Bazel Build Without the Bytes. It seems that
after bazelbuild/bazel#4685 this should work,
so this change attempts to shift coverage runs to use BWOB to avoid
downloading all outputs.

This also fixes some warnings and errors we ran into with the ubuntu
24.04 upgrade which causes lcov 2 to be installed.

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Will check github actions on this PR.

Signed-off-by: Vihang Mehta <vihang@px.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants